package com.screen.screendisplay.entity.dryport;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 来船信息表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Getter
@Setter
@TableName("qt_dp_dryport_opermon_ship")
@ApiModel(value = "DryportOpermonShip对象", description = "来船信息表")
public class DryportOpermonShip implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "年份")
    @TableField("year")
    private Integer year;

    @ApiModelProperty(value = "月份")
    @TableField("month")
    private Integer month;

    @ApiModelProperty(value = "日")
    @TableField("day")
    private Integer day;

    @ApiModelProperty(value = "日期，格式yyyy-MM-dd")
    @TableField("date")
    private Date date;

    @ApiModelProperty(value = "载重(吨)")
    @TableField("load_capacity")
    private Integer loadCapacity;

    @ApiModelProperty(value = "船厂名称")
    @TableField("shipyard")
    private String shipyard;

    @ApiModelProperty(value = "船长")
    @TableField("ship_long")
    private BigDecimal shipLong;

    @ApiModelProperty(value = "总吨位")
    @TableField("total_tonnage")
    private Integer totalTonnage;

    @ApiModelProperty(value = "吃水深度(米)")
    @TableField("draft")
    private BigDecimal draft;

    @ApiModelProperty(value = "始发港名称")
    @TableField("departure_port")
    private String departurePort;

    @ApiModelProperty(value = "预计到港时间")
    @TableField("estimated_arrival")
    private Date estimatedArrival;

    @ApiModelProperty(value = "预计离港时间(可为空)")
    @TableField("estimated_departure")
    private Date estimatedDeparture;

    @ApiModelProperty(value = "船只类型：0-C70,1-C70E,2-KV80,3-其他")
    @TableField("ship_type")
    private Byte shipType;

    @ApiModelProperty(value = "记录创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "记录创建人")
    @TableField("creator")
    private String creator;

    @ApiModelProperty(value = "最后更新时间")
    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty(value = "最后更新人")
    @TableField("updater")
    private String updater;
}
